package com.dengqi.mymodule.activity.dialog;

import android.content.Context;

import com.module.dialog.MessageDialog;
import com.module.dialog.inter.DialogOnClickListener;

/**
 * @Author: dengqi
 * @CreateDate: 2020/4/22 14:37
 * @Description:
 */
public class DialogUtil {

    public static void deleteDialog(Context context, DialogOnClickListener listener) {
        new MessageDialog(context)
                .setMessage("是否删除?")
                .setTitle("提示")
                .setButton1("确定")
                .setButton2("取消")
                .setDialogOnClickListener(listener)
                .build()
                .show();
    }


}
